package cn.liuhuan1.webModelBean.api;

import cn.liuhuan1.entity.ReturnResult;
import cn.liuhuan1.webModelBean.vo.ArticleCommentVo;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @Auther: liuhuan
 * @Date: 2021/4/20 - 04 - 20 - 19:15
 * @Description:
 * @version: 1.0
 */
public interface MongoDbImp {


    public void insert(ArticleCommentVo articleCommentVo);

    public void insertAll(List<ArticleCommentVo> articleCommentVoList);


    public List<ArticleCommentVo> findAll(String articleId);

    public void likeNumber(String id,Integer likeNumber);
}
